﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using System.Data.Sql;

 
namespace sgsBase
{
	[Serializable] public class DbSecXrGroupUser :  DbObject
	{
	  public DbSecXrGroupUser() : base()
	  {
		  Table = "dbo.sec_xr_group_user";
		  Database = "sgs_core";
		  Columns.AddColumn("group_id", SqlDbType.Int, true, false);
		  Columns.AddColumn("user_id", SqlDbType.Int, true, false);
	  }
  
	  #region Properties
  
		  public int GroupId
		  {
			  get { return Columns.IntAt(0);}
			  set { Columns.SetValAt(0, value);}
		  }

		  public int UserId
		  {
			  get { return Columns.IntAt(1);}
			  set { Columns.SetValAt(1, value);}
		  }

  
	  #endregion
	}
}
